package com.ruoyi.bantong.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 机构充值记录对象 bt_organization_recharge_record
 * 
 * @author laohei
 * @date 2021-02-05
 */
public class BtOrganizationRechargeRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer orrId;

    /** 机构Id */
    @Excel(name = "机构Id")
    private Integer orgId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Integer userId;

    /** 变动前金豆余额 */
    @Excel(name = "变动前金豆余额")
    private BigDecimal befBeanBalance;

    /** 变动前版通分余额 */
    @Excel(name = "变动前版通分余额")
    private BigDecimal befScoreBalance;

    /** 本次变动 金豆 */
    @Excel(name = "本次变动 金豆")
    private BigDecimal bean;

    /** 本次变动 版通分 */
    @Excel(name = "本次变动 版通分")
    private BigDecimal score;

    /** 变动后金豆余额 */
    @Excel(name = "变动后金豆余额")
    private BigDecimal beanBalance;

    /** 变动后积分余额 */
    @Excel(name = "变动后积分余额")
    private BigDecimal scoreBalance;

    /** 动作类型 */
    @Excel(name = "动作类型")
    private Integer actionType;

    /** 变动类型（in：收入，out:支出） */
    @Excel(name = "变动类型", readConverterExp = "i=n：收入，out:支出")
    private String changeType;

    /** 关联操作id */
    @Excel(name = "关联操作id")
    private Integer correlationId;

    /** 关联操作表 */
    @Excel(name = "关联操作表")
    private String correlationTable;

    /** 备注 */
    @Excel(name = "备注")
    private String memo;

    public void setOrrId(Integer orrId) 
    {
        this.orrId = orrId;
    }

    public Integer getOrrId() 
    {
        return orrId;
    }
    public void setOrgId(Integer orgId) 
    {
        this.orgId = orgId;
    }

    public Integer getOrgId() 
    {
        return orgId;
    }
    public void setUserId(Integer userId) 
    {
        this.userId = userId;
    }

    public Integer getUserId() 
    {
        return userId;
    }
    public void setBefBeanBalance(BigDecimal befBeanBalance) 
    {
        this.befBeanBalance = befBeanBalance;
    }

    public BigDecimal getBefBeanBalance() 
    {
        return befBeanBalance;
    }
    public void setBefScoreBalance(BigDecimal befScoreBalance) 
    {
        this.befScoreBalance = befScoreBalance;
    }

    public BigDecimal getBefScoreBalance() 
    {
        return befScoreBalance;
    }
    public void setBean(BigDecimal bean) 
    {
        this.bean = bean;
    }

    public BigDecimal getBean() 
    {
        return bean;
    }
    public void setScore(BigDecimal score) 
    {
        this.score = score;
    }

    public BigDecimal getScore() 
    {
        return score;
    }
    public void setBeanBalance(BigDecimal beanBalance) 
    {
        this.beanBalance = beanBalance;
    }

    public BigDecimal getBeanBalance() 
    {
        return beanBalance;
    }
    public void setScoreBalance(BigDecimal scoreBalance) 
    {
        this.scoreBalance = scoreBalance;
    }

    public BigDecimal getScoreBalance() 
    {
        return scoreBalance;
    }
    public void setActionType(Integer actionType) 
    {
        this.actionType = actionType;
    }

    public Integer getActionType() 
    {
        return actionType;
    }
    public void setChangeType(String changeType) 
    {
        this.changeType = changeType;
    }

    public String getChangeType() 
    {
        return changeType;
    }
    public void setCorrelationId(Integer correlationId) 
    {
        this.correlationId = correlationId;
    }

    public Integer getCorrelationId() 
    {
        return correlationId;
    }
    public void setCorrelationTable(String correlationTable) 
    {
        this.correlationTable = correlationTable;
    }

    public String getCorrelationTable() 
    {
        return correlationTable;
    }
    public void setMemo(String memo) 
    {
        this.memo = memo;
    }

    public String getMemo() 
    {
        return memo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orrId", getOrrId())
            .append("orgId", getOrgId())
            .append("userId", getUserId())
            .append("befBeanBalance", getBefBeanBalance())
            .append("befScoreBalance", getBefScoreBalance())
            .append("bean", getBean())
            .append("score", getScore())
            .append("beanBalance", getBeanBalance())
            .append("scoreBalance", getScoreBalance())
            .append("actionType", getActionType())
            .append("changeType", getChangeType())
            .append("correlationId", getCorrelationId())
            .append("correlationTable", getCorrelationTable())
            .append("memo", getMemo())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
